package cn.darkhorse.device.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class MesRepairApprovalHistoryVO implements TransPojo {
    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("维修单id")
    private Long repairId;

    @ApiModelProperty("审核结果 0：待审核1：立即维修2:驳回")
    @Trans(type = TransType.DICTIONARY,key = "repair_approval_result")
    private Integer approvalResult;

    @ApiModelProperty("处理意见")
    private String approvalOpinion;

    @ApiModelProperty("审核人")
    private Long approvalPerson;

    @ApiModelProperty("审核时间")
    private LocalDateTime approvalTime;

    @ApiModelProperty("创建时间")
    private LocalDateTime gmtCteate;
    @ApiModelProperty("用户名")
    private String approvalPersonName;
}
